Seven different pitchers allowed just one earned run while a pair of sacrifice flies powered the Houston Astros to a 2-1 win over the San Francisco Giants.